package com.sky.service;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.result.PageResult;
import com.sky.result.Result;

/**
* @author MrWang
* @description 针对表【employee(员工信息)】的数据库操作Service
* @createDate 2023-10-18 14:13:02
*/
public interface EmployeeService extends IService<Employee> {

    Employee login(EmployeeLoginDTO employeeLoginDTO);

    Result saveEmployee(EmployeeDTO employeeDTO);

    Result<PageResult> employeeList(EmployeePageQueryDTO employeePageQueryDTO);

    Result updateStatus(String status, String id);

    Result getEmployeeById(String id);

    Result updateEmployee(EmployeeDTO employeeDTO);

}
